d_opendpi_demo:=${module_libopendpi_demo_path}
TOP_opendpi:=$(TOP)/test/opendpi
OBJS_DIR:=$(LIB_DIR)

LIBRARY_opendpi_demo:=$(OBJS_DIR)/libopendpidemo.a
OBJS_opendpi_demo:=$(OBJS_DIR)/OpenDPI_demo.o
OBJS_opendpi_demo+=$(OBJS_DIR)/time_helper.o

OPENDPI_DEMO_CFLAGS_LOCAL:=-I$(TOP_opendpi) -I$(TOP_opendpi)/opendpi/src/include -I$(d_opendpi_demo) -I$(TOP_opendpi)/api -I$(TOP_opendpi)/opendpi/src/lib -I$(TOP)/include
module_libopendpi_demo:$(LIBRARY_opendpi_demo)

$(LIBRARY_opendpi_demo):$(OBJS_opendpi_demo)
	$(AR) -cr $(LIBRARY_opendpi_demo) $(OBJS_opendpi_demo)

$(OBJS_DIR)/%.o:$(d_opendpi_demo)/%.c
	$(COMPILE) $(OPENDPI_DEMO_CFLAGS_LOCAL)
